/* Copyright (c) 2011 Jordan Gray, MIT; see COPYRIGHT */


#ifndef X_AND_Y_H_
#define X_AND_Y_H_

namespace ex01 {
// ex01 definition of X
struct X {
  int i;
  X(int);
  X operator+(int);
};
// ex01 definition of Y
struct Y{
  int i;
  Y(X);
  Y operator+(X);
  operator int();
};

} // namespace

#endif /* X_AND_Y_H_ */
